class DecodeCsvDemo:
    def __init__(self):
        self.flag = False

    def get_search_keys(self):
        return ["SerialNumber", "Station_ID", "Site_ID", "PASS/FAIL", "Failed_List", "Test Start Time", "Test Stop Time"]

    def get_attribute_keys(self):
        return []

    def get_param_row(self, line_no, row):
        if (line_no < 3):
            return "Continue"
        if (line_no == 3):
            return "UL"
        if (line_no == 4):
            return "LL"
        if (line_no == 5):
            return "MU"
        if (line_no > 5):
            return "Stop"

    def get_column_name_index(self, line_no, row):
        if (line_no == 2):
            return True
        else:
            return False

    def get_data_row(self, line_no, row):
        if (line_no < 6):
            return False
        else:
            if self.flag == False:
                parametersStr1 = ','.join(row)
                parameters1 = parametersStr1.split(',')
                if parameters1[1] == "1":
                    self.flag = True
            return self.flag
